$(function(){
	if($('.company_type').val()==1){
		$('.company_quota').css('display','none');
		$('.company_quota input').attr('name','')
		$('.business_quota').css('display','block');
		$('.business_quota input').attr('name','business_quota')
	}else if($('.company_type').val()==2){
		$('.business_quota').css('display','none');
		$('.business_quota input').attr('name','')
		$('.company_quota').css('display','block');
		$('.company_quota input').attr('name','business_quota')
	};
	$('.company_type').on('change',function(){
		if($('.company_type').val()==1){
		$('.company_quota').css('display','none');
		$('.company_quota input').attr('name','')
		$('.business_quota').css('display','block');
		$('.business_quota input').attr('name','business_quota')
	}else if($('.company_type').val()==2){
		$('.business_quota').css('display','none');
		$('.business_quota input').attr('name','')
		$('.company_quota').css('display','block');
		$('.company_quota input').attr('name','business_quota')
		
	};
	})
	$('.keep').on('click',function(){
		sendForm($(this),1); 
	});
	$('.back').on('click',function(){
		window.history.back()
	}); 
})